package com.system.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.system.user.entity.LightingEntity;
import com.system.user.entityVO.LightingVO;

import java.util.List;

public interface LightingService {

    List<LightingEntity> findAll();

    List<LightingEntity> findBySiteOrNumber(LightingEntity lightingEntity);

    List<LightingVO> findAllLight(Integer uId, Integer number);

    List<LightingVO> findAllByBNumber(String bNumber, String createTime);

    String findSite(String bNumber);

    boolean add(LightingEntity lighting) throws Exception;

    boolean update(LightingEntity lighting);

    boolean delete(Integer id);

}
